import http from '@/utils/http'

// 获取订单列表
export const getOrdersListApi = (data) => http ({
   url: '/store/orders/list',
   method: 'post',
   data: data
})

// 获取订单详情
export const getOrdersDetailApi = (data) => http ({
   url: '/order/detail',
   method: 'get',
   params: data
})

// 发货
export const shipmentsApi = (data) => http ({
   url: '/store/orders/shipments',
   method: 'get',
   params: data
})